home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Cream of the Crop 20
/
Cream of the Crop 20 (Terry Blount) (1996).iso
/
bbs
/
pin0796.zip
/
QWKSTUFF.ZIP
/
SAMPLE.BAT
< prev
next >
Wrap
DOS Batch File
|
1995-09-03
|
2KB
|
40 lines
;Remember to change hub.* to your hubs QWK packet name
;also, change all directories to match where you'd like
;incoming and outgoing mail to be put.
@ECHO OFF
IF EXIST F:\TM\MAIL\HUB.QWK GOTO MAIN ; if you didn't get mail, this
GOTO CALLOUT ; this section will upload the
; last rep packet, instead of
; overwriting it.
:MAIN
F:\
CD\WC30
TNET EXPORT hub ;change this to match your mail
GOTO CLEAN ; tosser command line.
:CLEAN ; This is if you keep old msg
CD\TM\MAIL ;packets, it cleans them up
IF EXIST hub.QW1 DEL hub.QW1 ;after 3 days. Nice if there is
IF EXIST hub.QW0 REN hub.QW0 *.QW1 ; a problem with an import
IF EXIST hub.QWK REN hub.QWK hub.QW0
GOTO CALLOUT
:CALLOUT ; this calls Telemate on my system
CD\TM ; and executes a script, change it
TM hub.SCR ; to match your comm program
IF EXIST F:\TM\MAIL\hub.QWK GOTO IMPORT ;if there is new mail, it will go to
GOTO END ; import, if not, it will end.
:IMPORT ; This imports your mail, change
CD\WC30 ; to match the tosser you use.
TNET IMPORT hub
GOTO END
:END
exit ; If you terminate your bbs on
; events, remove the exit and put
; the batch file to restart the
; BBS.